package com.hdax.dm.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BaseTimeEntity {
    @TableField(fill = FieldFill.INSERT)
    protected LocalDateTime createdTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    protected LocalDateTime updatedTime;
}
